package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.OmcOldOut;
import com.csun.cmny.provider.model.dto.old_out.OldOutOldmanQueryDto;
import com.csun.cmny.provider.model.dto.old_out.OldOutQueryDto;
import com.csun.cmny.provider.model.vo.old_out.OldOutOldmanVo;
import com.csun.cmny.provider.model.vo.old_out.OldOutVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface OmcOldOutMapper extends Mapper<OmcOldOut> {

    /**
     * 查询可以出院的老人列表
     *
     * @param oldOutOldmanQueryDto  the old out oldman query dto
     *
     * @return  the old out oldman vo list
     */
    List<OldOutOldmanVo> queryOldmanList(OldOutOldmanQueryDto oldOutOldmanQueryDto);

    /**
     * query omc old out vo list with page
     *
     * @param oldOutQueryDto    the old out query dto
     *
     * @return  the old out vo list
     */
    List<OldOutVo> queryListWithPage(OldOutQueryDto oldOutQueryDto);
}